package com.menhai.personmanagement.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.menhai.personmanagement.entity.PatientsWithDetail;
import com.menhai.personmanagement.mapper.PatientsWithDetailMapper;

@Service
public class PatientsWithDetailService {
	
	@Autowired
	private PatientsWithDetailMapper PatientsWithDetailMapper;

	public List<PatientsWithDetail> selectQuery(PatientsWithDetail PatientsWithDetail) {
		return PatientsWithDetailMapper.selectQuery(PatientsWithDetail.getId());
	}

}
